<?php

namespace App\Utils\API\Enum;

use App\Utils\Enum\LogTypeEnum;
use App\Utils\Enum\NoticeEnum;

class ValidationEnum {
    public static $types = [
        'log_type_map' => self::LOG_TYPE_MAP,
        'notice_from_type' => NoticeEnum::FROM_TYPE_MAP,
        'notice_to_type' => NoticeEnum::TO_TYPE_MAP,
        'notice_type_map' => NoticeEnum::NOTICE_TYPE_MAP,
    ];

    /** @var array 日志类型 */
    const LOG_TYPE_MAP = [
        LogTypeEnum::TYPE_LOGIN_SUCCESS,
        LogTypeEnum::TYPE_LOGIN_FAILURE,
        LogTypeEnum::TYPE_ADMIN_USER_CREATE,
        LogTypeEnum::TYPE_ADMIN_USER_UPDATE,
        LogTypeEnum::TYPE_ADMIN_USER_DELETE,
        LogTypeEnum::TYPE_ADMIN_USER_GROUP_CRATE,
        LogTypeEnum::TYPE_ADMIN_USER_GROUP_UPDATE,
        LogTypeEnum::TYPE_ADMIN_USER_GROUP_DELETE,
    ];
}